package com.jackstraw.jack_base.rules.service;

import com.jackstraw.jack_base.datasource.mybatis.base.service.MyBatisService;
import com.jackstraw.jack_base.rules.dao.database.RelationSargDao;
import com.jackstraw.jack_base.rules.entity.bo.RelationSargBo;
import com.jackstraw.jack_base.rules.entity.po.RelationSargKeyPo;
import com.jackstraw.jack_base.rules.entity.po.RelationSargPo;
import com.jackstraw.jack_base.rules.entity.po.RelationSargPoExample;

import java.util.List;

/**
 * 场景规则组关系表  service接口
 *
 * @author zhaozhao 945514650@qq.com
 * @since version:1.0 generatorDate:2022-12-04 14:28:29
 */
public interface RelationSargService
        extends MyBatisService<RelationSargDao, RelationSargPo, RelationSargBo, RelationSargKeyPo<RelationSargPo>, RelationSargPoExample> {

    /**
     * 通过场景Id查询场景和规则组的关系
     *
     * @param sceneActuatorId
     * @return
     */
    List<RelationSargBo> queryAllBySceneId(Long sceneActuatorId);
}